package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-10-31
 * Time: 20:23
 */

@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/say")
    public String say(){
        System.out.println("执行了say方法!");
        return "Hello Say";
    }
}
